<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo ($setup["webname"]); ?>---中商网站内容管理系统</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/admin_style.css" />
<style type="text/css">
<!--
body{
 margin:0px;
 padding:0px;
 background-color:#FFFFFF;
 color:#FFFFFF;
}
.input1{
  width:150px;
}
-->
</style>
<script language="javascript" src="__PUBLIC__/Js/jquery.js"></script>
<script language="javascript">
function check(theform){
   for(var i=0;i<theform.length;i++){
       if($.trim(theform[i].value)==""){
	      alert(theform[i].title+"不能为空");
		  theform[i].focus();
		  return false;
	   }
   }
   return true;
}

function fleshVerify(){
	//重载验证码
	var timenow = new Date().getTime();
	document.getElementById('verifyImg').src= '__URL__/verify/'+timenow;
}
</script>
</head>

<body>
<table width="98" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td height="60">&nbsp;</td>
  </tr>
</table>
<table align="center" width="503" height="345" border="0" cellpadding="0" cellspacing="0">
 <form id="form1" name="form1" method="post" action="__URL__/check">  
    <tr>
      <td background="__PUBLIC__/images/admin/bg1.jpg"> <table width="271" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="81" height="25" class="top_thead">管理员:</td>
            <td colspan="2"> <input name="admin" type="text" id="admin"  title="管理员" class="input1"/>            </td>
          </tr>
          <tr> 
            <td height="25" class="top_thead">密&nbsp;&nbsp;码:&nbsp;</td>
            <td colspan="2"> <input name="password" type="password" id="password"  title="密码" class="input1"/>            </td>
          </tr>
		 <?php if(($is_verycode)  ==  "开启"): ?><tr> 
            <td height="25" class="top_thead">验证码:&nbsp;</td>
            <td width="72"> 
            <input name="verycode" type="text" id="verycode"  title="验证码" class="input1"/></td>
            <td width="97">&nbsp;<img id="verifyImg" src="__URL__/verify" border="0" align="absmiddle" onClick="javascript:fleshVerify();"/></td>
          </tr><?php endif; ?>	
		  <tr><td></td><td colspan="2"><label>
	  <input name="status" type="checkbox" id="status" value="1">
	  保存登陆状态	  
	</label></td></tr> 
          <tr> 
            <td height="8">&nbsp;</td>
            <td colspan="2">
          </td>
          </tr>
          <tr> 
            <td height="25">&nbsp;</td>
            <td colspan="2" valign="bottom">
<input name="Submit" type="image" src="__PUBLIC__/images/admin/login22.gif" width="69" height="21" border="0" onClick="return check(this.form);"/>            </td>
          </tr>
      </table></td>
    </tr>
</form>
</table>
</body>
</html>